package lzy.service.impl;
import lzy.entity.Warehousing;
import lzy.mapper.WarehousingMapper;
import lzy.service.WarehousingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Date;
import java.util.List;

@Service
public class WarehousingServiceImpl implements WarehousingService {
    @Autowired
    private WarehousingMapper warehousingMapper;

    @Override
    public List<Warehousing> findByFilter(String warehouseNo, String batchNo, String location, Date startTime, Date endTime) {
        return warehousingMapper.findByFilter(warehouseNo, batchNo, location, startTime, endTime);
    }

    @Override
    public void addWarehousing(lzy.entity.Warehousing warehousing) {
        warehousingMapper.addWarehousing(warehousing);
    }
} 